package api.storage;

import java.io.IOException;

import api.Person;
import api.list.LinkedList;


public class DataStorageMOCK implements IDataStorage
{
   LinkedList<Person> list;
   
   @Override
   public LinkedList<Person> load() throws IOException
   {
      return list;
   }

   @Override
   public void save(LinkedList<Person> list) throws IOException
   {
      this.list = (LinkedList<Person>) list.cloneList();
   }
}
